﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DTD2013.Entities;

namespace DTD2013.MainApp
{
    public partial class BaseForm : XtraForm
    {
        #region Properties

        private DeluxeEntities _deluxeContext;
        public DeluxeEntities DeluxeContext
        {
            get
            {
                if (_deluxeContext == null)
                {
                    _deluxeContext = new DeluxeEntities();
                }
                return _deluxeContext;
            }
            set
            {
                _deluxeContext = value;
            }
        }

        #endregion

        public BaseForm()
        {
            InitializeComponent();
        }
    }
}
